package com.eastfair.venuebooking.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * The type Follow record timeline query.
 *
 * @author dqq
 * @date 2022 /6/11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
public class FollowRecordTimelineQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 跟进类型，数据字典
     */
    @ApiModelProperty(value = "跟进类型，数据字典")
    private String followType;
    /**
     * 跟进内容
     */
    @ApiModelProperty(value = "跟进内容")
    private String content;
    /**
     * 跟进用户id
     */
    @ApiModelProperty(value = "跟进用户id")
    private Long followUserId;
    /**
     * 跟进日期
     */
    @ApiModelProperty(value = "跟进日期")
    private LocalDate followDate;

    @TableField(value = "follow_date_time")
    private LocalDateTime followDateTime;
    /**
     * 跟进记录的类型，枚举，1.跟进客户，2.跟进线索，3.跟进商机
     */
    @ApiModelProperty(value = "跟进记录的类型，枚举，1.跟进客户，2.跟进线索，3.跟进商机")
    private String followRecordType;
    /**
     * 客户id
     */
    @ApiModelProperty(value = "客户id")
    private Long customerId;
    /**
     * 客户名称
     */
    @ApiModelProperty(value = "客户名称")
    private String customerName;
    /**
     * 客户状态，数据字典
     */
    @ApiModelProperty(value = "客户状态，数据字典")
    private String customerStatus;
    /**
     * 联系人id
     */
    @ApiModelProperty(value = "联系人id")
    private Long contactId;
    /**
     * 联系人名称
     */
    @ApiModelProperty(value = "联系人名称")
    private String contactName;
    /**
     * 线索id
     */
    @ApiModelProperty(value = "线索id")
    private Long clueId;
    /**
     * 线索名称
     */
    @ApiModelProperty(value = "线索名称")
    private String clueName;
    /**
     * 线索状态
     */
    @ApiModelProperty(value = "线索状态")
    private String clueStatus;
    /**
     * 商机id
     */
    @ApiModelProperty(value = "商机id")
    private Long businessOpportunityId;
    /**
     * 商机名称
     */
    @ApiModelProperty(value = "商机名称")
    private String businessOpportunityName;
    /**
     * 商机阶段，数据字段
     */
    @ApiModelProperty(value = "商机阶段，数据字段")
    private String businessOpportunityStage;

    /**
     * 合同id
     */
    @ApiModelProperty(value = "合同id")
    private Long contractManageId;
    /**
     * 合同名称
     */
    @ApiModelProperty(value = "合同名称")
    private String contractManageName;

    /**
     * 跟进计划id
     */
    @ApiModelProperty(value = "跟进计划id")
    private Long followPlanId;

    /**
     * 下次搜索开始时间
     */
    private String nextStartDate;
}
